Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Runtime Invocation Functions /


JMGetSessionProperty

Obtains a property value for an existing session.

OSStatus JMGetSessionProperty (
                     JMSessionRef session,
                     const char* propertyName,
                     char* propertyValue,
                     UInt32 valueLength);
session
The session whose property value you wish to obtain.
propertyName
A null-terminated string holding the name of the property whose value you want to obtain.
propertyValue
A pointer to the property value. On return this location contains the value of propertyName.
valueLength
The maximum size ofthe value returned by propertyValue.
function result
A result code. See "JManager Result Codes" (page 108) for a list of result codes that JManager may return in this field.
DISCUSSION
This function corresponds to the Java method java.lang.System.getProperty.

SEE ALSO
The JMPutSessionProperty function (page 61).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997